<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PPT Result</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-image: url('https://s2.loli.net/2024/05/13/oDmLOVNUujC8ZMS.jpg');
            background-size: cover;
            background-position: center;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            background-color: rgba(255, 255, 255, 0.5);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            text-align: center;
            width: 60%;
            max-width: 800px;
        }
        h2 {
            color: #e5ffff;
            font-size: 4em;
            margin-bottom: 20px;
        }
        a {
            display: inline-block;
            margin-top: 30px;
            padding: 25px 50px;
            font-size: 20px;
            color: #ffffff;
            background-color: #007bff;
            text-decoration: none;
            border-radius: 8px;
            transition: background-color 0.3s;
        }
        a:hover {
            background-color: #0056b3;
        }
        .back-button {
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }
        .back-button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="container">
        <h2>Generated PPT:</h2>
        <a id="download-link" href="#" target="_blank">Download PPT</a>
        <br>
        <a href="/" class="back-button">返回首页</a>
    </div>
    <script>
        window.onload = function() {
            const urlParams = new URLSearchParams(window.location.search);
            const pptUrl = urlParams.get('purl');
            document.getElementById('download-link').href = pptUrl;
        };
    </script>
</body>
</html>
